<html>
	<head>
        <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7/dijit/themes/tundra/tundra.css" />
        <script type="text/javascript">
            var dojoConfig = {
                parseOnLoad: true,
                isDebug: true,
                locale: 'ru-ru',
            };
        </script>
        <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7/dojo/dojo.js"></script>

        <script type="text/javascript">
            dojo.require('dijit.form.Button');
            dojo.ready(function() {
                dojo.query('table tr:nth-child(odd)').onclick(function () {
                    console.log('Клик по нечетной строке');
                });

                dojo.connect(dojo.byId('mainDiv'), 'onmouseover', function () {
                    dojo.query(this).style('color', 'red');
                });
                
            });
        </script>


    </head>
    <body class="tundra">
        <table>
            <tr>
                <td>1.</td><td>name</td>
            </tr>
            <tr>
                <td>2.</td><td>name</td>
            </tr>
            <tr>
                <td>3.</td><td>name</td>
            </tr>
            <tr>
                <td>4.</td><td>name</td>
            </tr>
            <tr>
                <td>5.</td><td>name</td>
            </tr>
            <tr>
                <td>6.</td><td>name</td>
            </tr>
            <tr>
                <td>7.</td><td>name</td>
            </tr>
        </table>
        <div id="mainDiv">
            Наведи на меня!
        </div>
        <button data-dojo-type="dijit.form.Button">
            <script type="dojo/method" data-dojo-event="onClick">
                alert('onClick');
           </script>
            Нажми
        </button>
    </body>
</html>